import java.util.Arrays;
/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 故我
 * Date: 2023-03-18
 * Time: 15:56
 */
public class Test3 {
    public static void main(String[] args) {
        int[] array1 = new int[]{1, 2, 3, 4, 5, 6, 7, 8};
        int[] array2 = {1, 2, 3, 4, 5, 6, 7, 8, 9, 0};
        for (
                int e : array2) {
            System.out.print(e + " ");
        }
        System.out.println();
        // java中的Arrays工具包
        System.out.println(Arrays.toString(array1));
    }

}
